﻿namespace Framework.EncryptionDecryptionService.Models
{
    /// <summary>
    /// 秘钥
    /// </summary>
    public class SecretKeyModel
    {
        /// <summary>
        /// 秘钥
        /// </summary>
        /// <param name="privateSecretKey">私钥 or 秘钥
        /// <para>非对称加密的私钥</para>
        /// <para>对称加密的秘钥</para></param>
        /// <param name="publicSecretKey">公钥 or 向量
        /// <para>非对称加密的公钥</para>
        /// <para>对称加密的向量</para></param>
        public SecretKeyModel(string privateSecretKey,string publicSecretKey)
        {
            PrivateSecretKey = privateSecretKey;
            PublicSecretKey = publicSecretKey;
        }

        /// <summary>
        /// 私钥 or 秘钥
        /// <para>非对称加密的私钥</para>
        /// <para>对称加密的秘钥</para>
        /// </summary>
        /// <remarks></remarks>
        public string PrivateSecretKey { get; set; }
        /// <summary>
        /// 公钥 or 向量
        /// <para>非对称加密的公钥</para>
        /// <para>对称加密的向量</para>
        /// </summary>
        public string PublicSecretKey { get; set; }
    }
}
